cmake_minimum_required(VERSION 3.8)
project(matrix_to_edgelist)


add_library(matrix_to_edgelist matrix_to_edgelist.cpp)

# 将头文件链接到所生成的库中(matrix_to_edgelist.h)
target_include_directories(matrix_to_edgelist PUBLIC ./)

# 包含所需的头文件(standard.h)
target_include_directories(matrix_to_edgelist PRIVATE ../..)